﻿Public Class NivelEN
#Region "CAMPOS"
    Private Id As Integer
    Private Nombre As String
    Private Tutor As String
    Private Descripcion As String
    Private Alumnos As List(Of AlumnoEN)
    Private Cursos As List(Of CursoEN)
#End Region

#Region "CONSTRUCTORES"
 
    Sub New()
        Alumnos = New List(Of AlumnoEN)
        Cursos = New List(Of CursoEN)
    End Sub
#End Region

#Region "PROPIEDADES"
    Public Property IdNivel() As Integer
        Get
            Return Id
        End Get
        Set(ByVal value As Integer)
            Id = value
        End Set
    End Property

    Public Property TutorNivel() As String
        Get
            Return Tutor
        End Get
        Set(ByVal value As String)
            Tutor = value
        End Set
    End Property

    Public Property NombreNivel() As String
        Get
            Return Nombre
        End Get
        Set(ByVal value As String)
            Nombre = value
        End Set
    End Property

    Public Property CursosNivel() As List(Of CursoEN)
        Get
            Return Cursos
        End Get
        Set(ByVal value As List(Of CursoEN))
            Cursos = value
        End Set
    End Property

    Public Property DescripcionNivel() As String
        Get
            Return Descripcion
        End Get
        Set(ByVal value As String)
            Descripcion = value
        End Set
    End Property

    Public Property AlumnosNivel() As List(Of AlumnoEN)
        Get
            Return Alumnos
        End Get
        Set(ByVal value As List(Of AlumnoEN))
            Alumnos = value
        End Set
    End Property

#End Region
End Class
